Million-net Whois (the interface used to provide a legal interface to the WAN)
Copy the Code code as follows:
function Whois_hichina ($domain) {Preg_match ("|
(.+?)|is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= ' $domain. '), $whois);
$whois [0] = str_replace (' Friendly tip: The expire
The previous article mainly introduced Python through the socket query Whois method, involving Python based on the Socket module query related skills, with a certain reference value, the need for friends can refer to the next http://www.cnblogs.com/ Zhangmengqin/p/9144022.htmlKnock the blackboard!!! each domain suffix corresponds to the WHOIS server is not the same! So how do I know the domain suffix that I
"Original": before using php to query domain name whois information, a whois query tool was specially deployed on the plog.cn server to implement "plog.cn 1-6 Super-expecting to delete short domain names. PS: method of use http://plog.cn/whois/yourdomain.com
In order to implement this whois tool, I checked the inform
This article describes how to query whois information in php. It involves the related skills of querying php domain names. For more information, see
This article describes how to query whois information in php. It involves the related skills of querying php domain names. For more information, see
This example describes how to query whois information in php
Due to historical Internet reasons, apin is responsible for the overall planning of the entire network IP address and IP allocation management in some African regions in North America. Correspondingly, whois.apin.net is the root server of IP whois, the standard IP whois query method is to first query whois.apin.net which region an IP belongs to, and then query the whois
How to query whois information in php
This example describes how to query whois information in php. Share it with you for your reference. The details are as follows:
Php is used to query the whois information list.
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
nearly 1000 of ICANN's authorized registrars. The domain registrar will check whether the domain name is available and establish a WHOIS record according to the information provided by the registrant. The registrant may also register the domain name through the distributor's affiliate. The organizations/individuals involved in the process of registering a domain name and the relationships between them are shown in the following illustration:
Whe
PHP code for domain name whois query (data source HiChina, Xinnet ). The code for copying the HiChina whois code is as follows: functionwhois_hichina ($ domain) {preg_match (| pre (. + ?) Pre | is, @ file_get_contents (whois HiChina whois (the interface used provides valid interfaces for HiChina)
The code is as follo
Here we obtain data from the data interface of the WAN or new network, and then output it through the simple text processing of PHP.
Copy CodeThe code is as follows:
$domain = $_get[' Q '];
Preg_match ("
Is ", @file_get_contents (' http://www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp?domainNameWhois= '. $ Domain. ' nocode=nocode '), $whois);
echo $whois [1];
?>
Do here, may have some friends to
Php function: Domain name whois query (query using interfaces of HiChina and Xinnet ). Function 1 :? Php HiChina whois (the interface used to provide valid interfaces for HiChina) functionwhois_hichina ($ domain) {preg_match (| pre (.?) Pre | is, @ file_get_contents (whois. hichin function 1:
// HiChina whois (the int
Due to the historical reasons for the Internet, Apin is responsible for the overall network IP planning as well as the North American region also has some of Africa's IP allocation management, and accordingly, whois.apin.net is the IP whois root server, the standard IP whois query method is , first query the whois.apin.net for which area an IP belongs to, and then query the
Function 1: lt ;? Php // HiChina whois (the interface used to provide valid interfaces for HiChina) functionwhois_hichina ($ domain) { nbsp; preg_match (| lt; pre gt; (.?) Lt;/pre gt; | is, @ file_get_contents (http: // whois function 1:
// HiChina whois (the interfaces used provide valid interfaces for HiChina)
Function whois_hichina ($ domain ){
Preg_matc
Domain whois queryDomain whois query function free domain name whois information query. You can see if the domain name can be registered, or see the current owner's contact information, or view the current status of the domain name. Domain name whois information Query system can query the domain name registration time
Author: Guang mangoSource: evil baboons Information Security Team (www.eviloctal.com)Note: This article has been published in the non-secure guest manual.Since the announcement of whois technology, bypass attacks have become a very common attack method for hackers. In addition to configuring directory permissions, we can also block hackers when querying whois.Let's first analyze the principle of whois query
Here we get data from the data interface of hichina or xinnet, and process and output data through simple php text.Copy codeThe Code is as follows:$ Domain = $ _ GET ['q'];Preg_match ("|| Is ", @ file_get_contents ('HTTP: // www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp? DomainNameWhois = '. $ domain.' noCode = nocode'), $ whois );Echo $ whois [1];?> Here, some may ask, isn't this a simple php sc
Here we get data from the data interface of hichina or xinnet, and process and output data through simple php text.
Copy codeThe Code is as follows: $ Domain = $ _ GET ['q'];
Preg_match ("|
| Is ", @ file_get_contents ('HTTP: // www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp? DomainNameWhois = '. $ domain.' noCode = nocode'), $ whois );
Echo $ whois [1];
?>
Here, some may ask, isn't this a simple
function One:
Million-net Whois (the interface used to provide a legal interface to the WAN)
function Whois_hichina ($domain) {
Preg_match ("|
(. ?)|is ", @file_get_contents (http://whois.hichina.com/cgi-bin/whois?domain=. $domain.), $whois);
$whois [0] = str_replace (friendly tip: According to the requirements of the
1, simplify the code. (in fact, the definition of a few variables is removed)
2, for the information retrieved from InterNIC is too simple, according to InterNIC feedback information in the WHOIS server for further inquiries. For example, Yahoo has more detailed information on the whois.networksolutions.com.
Class Whois {
var $use _cache = 1;
var $FROM _cache=0;
var $cache _dir = "./"; Set yourself accordin
Use PHP to query the domain name status whois class. Copy the code as follows :? ClassSearchDomain {var $ domain; functionSetDomain ($ udomain) {$ this-domain $ udomain;} get whois and analyze the domain name status. OK is not registered. it is not empty.
The code is as follows:
Class SearchDomain{Var $ domain = "";Function SetDomain ($ udomain){$ This-> domain = $ udomain;}//// Obtain
Php queries whois information, and phpwhois information. Methods for querying whois information in php. phpwhois information in this document describes how to query whois information in php. Share it with you for your reference. The details are as follows: Here we use php to query the whois information through php, and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.